package com.odin.core.service;

import com.odin.core.dao.UserMapper;
import com.odin.core.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public User findUserByLoginName(String loginName){
        return userMapper.findUserByLoginName(loginName);
    }
}
